<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@include file="header.jsp"%>
 <div id="nivel2">
    <div id="contenido">
	    <div id="mens">    
			<s:actionerror />	
		</div>
   		<s:form theme="simple" action="mostrarMedico">
		    <p class="boton1"><a href="<%=request.getContextPath()%>/resources/medico_listado.jsp" style="text-decoration:none;">Volver a Buscar</a></p>        	     
			<s:label><br/></s:label>
			<s:label><br/></s:label>
			<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tabla2">
			<s:iterator value="listaMedico">
			  	<tr>
					<td colspan="2" style="color:MidnightBlue;font-size:14px;font-weight:bold"><s:label>Datos del Médico</s:label></td>
			  	</tr>
			  	<tr>
			  		<s:hidden name="id" value="%{id}" />
			  	</tr>
			  	<tr>
			    	<td width="150"><label>Centro De Salud:</label></td>
					<td><s:property value="centroDeSalud" /></td>
			  	</tr>
			  	<tr>
			    	<td width="150"><label>Nombre:</label></td>
					<td><s:property value="nombre" /></td>
			  	</tr>
			  	<tr>
			    	<td width="150"><label>Apellido:</label></td>
					<td><s:property value="apellido" /></td>
			  	</tr>
			  	<tr>
			    	<td width="150"><label>Estatus:</label></td>
					<td><s:property value="activo" /></td>
			  	</tr>
			</s:iterator>		  	
			</table>
			<p align="center"><strong><button class="boton1" type="submit" notifyTopics="/mostrarMedico">Editar</button><button class="boton1" type="submit" name="action:eliminarMedico" onclick="form.onsubmit=null">Eliminar</button></strong></p>
		</s:form>	
	</div>
</div>
<%@include file="footer.jsp"%>